package com.lap.auth.application.role.dto;

import com.lap.framework.common.dto.AbstractDto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Set;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "数据传输")
public class RoleDataScopeDto extends AbstractDto {

  @Schema(description = "唯一标识")
  private Integer id;

  @Schema(description = "角色id")
  private Integer roleId;

  @Schema(description = "数据权限:1-本人，2-本部门，3-本部门及子部门，4-指定部门，5-全部")
  private Integer scopeType;

  @Schema(description = "部门")
  private Set<Integer> deptSet;
}
